//
//  CXDelteTableViewCell.m
//  Delicious
//
//  Created by dllo on 15/11/25.
//  Copyright © 2015年 doll. All rights reserved.
//

#import "CXDelteTableViewCell.h"


@interface CXDelteTableViewCell ()
@property (nonatomic, retain) UIImageView *image;
@property (nonatomic, retain) UILabel *nameLabel;



@end
@implementation CXDelteTableViewCell

- (instancetype)initWithStyle:(UITableViewCellStyle)style reuseIdentifier:(NSString *)reuseIdentifier
{
    self = [super initWithStyle:style reuseIdentifier:reuseIdentifier];
    if (self) {
        [self creatSubView];
    }
    return self;
}

- (void)creatSubView
{
    self.image = [[UIImageView alloc] initWithFrame:CGRectMake(8 * WIDTH1 , 5 * HEIGHT1, 41 * WIDTH1, 41 * HEIGHT1 )];
    [self.image setImage:[UIImage imageNamed:@"iconfont-clean.png"]];
    [self.contentView addSubview:self.image];
    
    self.nameLabel = [[UILabel alloc] initWithFrame:CGRectMake(60 * WIDTH1  , 5 * HEIGHT1 , 80 * WIDTH1 , 40 * HEIGHT1 )];
    self.nameLabel.text = @"清除缓存";
    //    self.nameLabel.backgroundColor= [UIColor purpleColor];
    self.nameLabel.font = [UIFont systemFontOfSize:20 * WIDTH1 ];
    [self.contentView addSubview:self.nameLabel];
    
}








- (void)awakeFromNib {
    // Initialization code
}

- (void)setSelected:(BOOL)selected animated:(BOOL)animated {
    [super setSelected:selected animated:animated];

    // Configure the view for the selected state
}

@end
